﻿//-----------------------------------------------------------------------
// <copyright file="AccountInfo.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: UserInfo.cs
// * history : created by qinchaoyue 2017-10-26 10:41:58
// </copyright>
//-----------------------------------------------------------------------

namespace Slwy.Core.Entities
{
    using Slwy.Data.Entity.Data;

    /// <summary>
    /// 帐号信息
    /// </summary>
    public class AccountInfoEntity : EntityBase<string>
    {
        /// <summary>
        /// 用户账号
        /// </summary>
        public string UserAccount { get; set; } = string.Empty;

        /// <summary>
        /// 用户密码
        /// </summary>
        public string LoginPWD { get; set; } = string.Empty;

        /// <summary>
        /// 用户电话
        /// </summary>
        public string UserPhone { get; set; } = string.Empty;

        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string UserEmail { get; set; } = string.Empty;

        /// <summary>
        /// 登录权限ID
        /// 用作后台登录权限控制(1可以登录,0不能登录)
        /// </summary>
        public string PermissionID { get; set; } = string.Empty;

        /// <summary>
        /// 激活状态(1为激活，0为未激活 / )
        /// </summary>
        public string Activation { get; set; } = string.Empty;

        /// <summary>
        /// 是否删除(1为删除，0为不删除 / )
        /// </summary>
        public string IsDelete { get; set; } = string.Empty;

        /// <summary>
        /// 添加时间
        /// </summary>
        public string AddTime { get; set; } = string.Empty;

        /// <summary>
        /// 添加人
        /// </summary>
        public string AddUser { get; set; } = string.Empty;

        /// <summary>
        /// 修改时间
        /// </summary>
        public string ModifyTime { get; set; } = string.Empty;

        /// <summary>
        /// 修改人
        /// </summary>
        public string ModifyUser { get; set; } = string.Empty;

        /// <summary>
        /// OpenId
        /// </summary>
        public string OpenID { get; set; } = string.Empty;
    }
}
